//----------------------------------------------------------------------------
//  ,-.
// /_\___ ,   Ninja Framework
// '  ___\    (C) Riccardo Capra - http://riccar.do
//  //   \\
//----------------------------------------------------------------------------
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//----------------------------------------------------------------------------

#if	!defined(NJ_MODULE_NINJA_SYNC) && !defined(NJ_PRECOMPILED_HEADER_SCOPE)
#	error "File included outside precompiled header scope"
#endif // !defined(NJ_MODULE_NINJA_SYNC) && !defined(NJ_PRECOMPILED_HEADER_SCOPE)

#ifndef NJ_NINJA_SYNC_LIB_H
#	define NJ_NINJA_SYNC_LIB_H

#	if	!defined(NJ_EXPORT_MODULE_NINJA_SYNC) && !defined(NJ_IMPORT_MODULE_NINJA_SYNC)
#		error "ninja_sync_lib module dependency missing"
#	endif // !defined(NJ_EXPORT_MODULE_NINJA_SYNC) && !defined(NJ_IMPORT_MODULE_NINJA_SYNC)

#	if defined(NJ_PLATFORM_WIN32) || defined(NJ_PLATFORM_WIN64)
#		define WIN32_LEAN_AND_MEAN
#		include "Windows.h"
#		include "intrin.h"
#		undef CreateEvent
#	endif // defined(NJ_PLATFORM_WIN32) || defined(NJ_PLATFORM_WIN64)

#endif // NJ_NINJA_SYNC_LIB_H
